package com.liupengyuan.system.login.service;

import java.util.List;

import com.liupengyuan.framework.web.query.IGenericPage;
import com.liupengyuan.system.user.model.User;

public interface LoginService {
	public List<User> findListBy(User user, String sort, String dir);
	public IGenericPage findPageBy(User user, int pageNo, int pageSize,	String sort, String dir);
	public User getById(String id);
	public Integer save(User user);
	public Integer update(User user);
	public Integer deleteByIds(String[] ids);
	public Integer deleteById(String id);
	public Integer saveOrUpdate(User user);
	public Integer getCountByParam(User user);
}
